import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import Particles from "particles.vue3";
import router from "@/router";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
// import VueMeta from "vue-meta"

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component);
}
app.use(pinia).use(ElementPlus).use(router).use(Particles).mount("#app");
